package com.ruoyi.app.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.app.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 参数配置 数据层
 *
 * @author ruoyi
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {


    @Select(" select * from t_user where phone = #{phone} ")
    User selectByPhone(String phone);
}